TEMPLATE = lib
TARGET = TranslateResource

QT += core xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

DESTDIR = $$PWD/../output

INCLUDEPATH += \
    ../Common

CONFIG(debug, debug|release) {
    LIBS += -L$$DESTDIR -lCommond
    TARGET = $$join(TARGET,,,d)
} else {
    LIBS += -L$$DESTDIR -lCommon
}

HEADERS += \
    CTranslateResultItemWidget.h \
    CTranslateResultWidget.h \
    CTranslateWidget.h

SOURCES += \
    CTranslateResultItemWidget.cpp \
    CTranslateResultWidget.cpp \
    CTranslateWidget.cpp

FORMS += \
    CTranslateResultItemWidget.ui \
    CTranslateResultWidget.ui \
    CTranslateWidget.ui
